package com.ubxtech.sms.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author Victor.Xiao
 * @since 2023-05-16 10:48
 **/
@Data
public class SmsLogBO {
    @Schema(title="send ID")
    private String sendID;
    @Schema(title="手机号码")
    private String to;
    @Schema(title="AppID")
    private String appid;
    @Schema(title="模板ID")
    private String templateId;
    @Schema(title="短信签名")
    private String smsSignature;
    @Schema(title="短信正文")
    private String smsContent;
    @Schema(title="计费条数")
    private Integer fee;
    @Schema(title="发送状态 ，delivered = 成功 ， dropped = 失败 ， pending=未知（运营商未返回）")
    private String status;
    @Schema(title="运营商返回的实际状态 DELIVRD = 成功，其他均为失败 pending=未知（运营商未返回）")
    private String reportState;
    @Schema(title="手机号归属地")
    private String location;
    @Schema(title="手机运营商")
    private String mobileType;
    @Schema(title="发送IP")
    private String ipAddress;
    @Schema(title="请求时间")
    private Long sendAt;
    @Schema(title="平台发送时间")
    private Long sentAt;
    @Schema(title="运营商状态汇报时间（一般为用户的手机收到短信的时间）")
    private Long reportAt;
}
